package cn.edu.scau.cmi.duzefeng.client;
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
public class FactoryClient extends Application{

		@Override
	    public void start(Stage primaryStage) {
	        try {
	           // BorderPane root = new BorderPane();
	            //Scene scene = new Scene(root,400,400);
	            Parent root = FXMLLoader.load(getClass().getResource("../factory/viewers/Factory.fxml"));
	            primaryStage.setTitle("SimpleFactory");
	            primaryStage.setScene(new Scene(root));
	            primaryStage.show();
	        } catch(Exception e) {
	            e.printStackTrace();
	        }
	    }
		public static void main(String[] args) {
			
			launch(args);


	}

}
